import { PageParam } from '@/api';

/**
 * 通知公告
 */
export interface SysNotice {
  id?: number;
  createTime?: Record<string, unknown>;
  updateTime?: Record<string, unknown>;
  createUserId?: number;
  updateUserId?: number;
  isDelete?: boolean;
  title: string;
  content: string;
  type?: string | number;
  publicUserId?: number;
  publicUserName?: string;
  publicOrgId?: number;
  publicOrgName?: string;
  publicTime?: Record<string, unknown>;
  cancelTime?: Record<string, unknown>;
  status?: Record<string, unknown>;
}

/**
 * 通知公告搜索条件
 */
export interface SysNoticeParam extends PageParam {
  id?: number;
  code?: string;
  name?: string;
}
